import http from '@/utils/http'

export function loginAPI(data) {
  return http.get(`/user/login?username=${data.username}&password=${data.password}`)
}

export function getPermissionRoutesAPI(data) {
  return http.post('/user/getpermissionRoutes', data)
}
